package cn.uce.base.vo;

import cn.uce.utils.DateUtil;

import java.util.Date;
import java.util.List;

/**
 * Created by chenqinglong on 2018/6/5 0005.
 */
public class IcsOrgVo extends BaseVo {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    /** 机构ID. */
    private String orgId;
    //乾坤机构ID
    private String cmsOrgId;
    /** 机构编号.机构编号唯一 */
    private String orgCode;
    //机构基准编码
    private String baseOrgCode;
    /** 机构名称.同一机构下,机构名称唯一 */
    private String orgName;
    private String orgFullName;
    /** 机构类型.总部-10,财务中心-20,操作中心-21,网点-30,承包区-40 */
    private Integer orgType;
    /** 上一级机构ID */
    private String parentOrg;
    //所属财务中心编码
    private String financeCenterCode;
    //所属财务中心名称
    private String financeCenterName;
    //所属分拨中心名称 OPERATE_CENTER_CODE
    private String operateCenterCodeName;
    //机构标识
    private String orgFlag;
    //机构类型列表
    private List<String> orgTypeList;
    //机构状态列表
    private List<String> orgStatusList;
    //机构属性
    private List<String> orgPropertyList;
    //是否包含自己
    private Boolean iself;

    //员工编码
    private String empCode;
    //状态
    private String status;
    //属性
    private String orgProperty;
    //更新时间
    private String updateTime;
    //承包区所属网点的编码（对账机构）
    private String accOrg;
    //承包区所属网点的基准编码（对账机构）
    private String accOrgCode;
    //上一级机构的基准编码
    private String parentOrgCode;

    private Integer xzOrgId;

    private String xzOrgCode;

     //根据乾坤机构查询行政机构的员工集合
    private List<IcsEmpVo> empListOfThisCmsOrg;
    //根据行政机构查询的员工集合
    private List<IcsEmpVo> empListOfThisOrg;

    private String operateCenterCode;

    private String orgTypeStr;

    //状态最后更新时间 2018-08-04
    private String statusUpdateTime;

    private String orgNameForQue;
    //所属省区code
    private String provinceCode;

    private String q;

    private String searchOrgTypes;
	/**
	 * 搜索机构状态
	 */
	private String searchStatus;
	/**
	 * 搜索网点属性.来自系统参数表:加盟、直营、同行、出货口、代派
	 */
	private String searchOrgPropertys;


    /**
	 * @return the operateCenterCode
	 */
	public String getOperateCenterCode() {
		return operateCenterCode;
	}

	/**
	 * @param operateCenterCode the operateCenterCode to set
	 */
	public void setOperateCenterCode(String operateCenterCode) {
		this.operateCenterCode = operateCenterCode;
	}

	/**
	 * @return the searchOrgTypes
	 */
	public String getSearchOrgTypes() {
		return searchOrgTypes;
	}

	/**
	 * @param searchOrgTypes the searchOrgTypes to set
	 */
	public void setSearchOrgTypes(String searchOrgTypes) {
		this.searchOrgTypes = searchOrgTypes;
	}

	/**
	 * @return the searchStatus
	 */
	public String getSearchStatus() {
		return searchStatus;
	}

	/**
	 * @param searchStatus the searchStatus to set
	 */
	public void setSearchStatus(String searchStatus) {
		this.searchStatus = searchStatus;
	}

	/**
	 * @return the searchOrgPropertys
	 */
	public String getSearchOrgPropertys() {
		return searchOrgPropertys;
	}

	/**
	 * @param searchOrgPropertys the searchOrgPropertys to set
	 */
	public void setSearchOrgPropertys(String searchOrgPropertys) {
		this.searchOrgPropertys = searchOrgPropertys;
	}

	/**
	 * @return the q
	 */
	public String getQ() {
		return q;
	}

	/**
	 * @param q the q to set
	 */
	public void setQ(String q) {
		this.q = q;
	}

	/**
	 * @return the operateCenterCodeName
	 */
	public String getOperateCenterCodeName() {
		return operateCenterCodeName;
	}

	/**
	 * @param operateCenterCodeName the operateCenterCodeName to set
	 */
	public void setOperateCenterCodeName(String operateCenterCodeName) {
		this.operateCenterCodeName = operateCenterCodeName;
	}

	/**

	* @return provinceCode

	*/
	public String getProvinceCode() {
		return provinceCode;
	}

	/**
	 * @param provinceCode the provinceCode to set
	 */
	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getCmsOrgId() {
        return cmsOrgId;
    }

    public void setCmsOrgId(String cmsOrgId) {
        this.cmsOrgId = cmsOrgId;
    }

    public String getBaseOrgCode() {
        return baseOrgCode;
    }

    public void setBaseOrgCode(String baseOrgCode) {
        this.baseOrgCode = baseOrgCode;
    }

    public String getEmpCode() {
        return empCode;
    }

    public void setEmpCode(String empCode) {
        this.empCode = empCode;
    }

    public Boolean getIself() {
        return iself;
    }

    public void setIself(Boolean iself) {
        this.iself = iself;
    }

    public List<String> getOrgStatusList() {
        return orgStatusList;
    }

    public void setOrgStatusList(List<String> orgStatusList) {
        this.orgStatusList = orgStatusList;
    }

    public String getOrgFlag() {
        return orgFlag;
    }

    public void setOrgFlag(String orgFlag) {
        this.orgFlag = orgFlag;
    }

    public List<String> getOrgTypeList() {
        return orgTypeList;
    }

    public void setOrgTypeList(List<String> orgTypeList) {
        this.orgTypeList = orgTypeList;
    }

    public List<String> getOrgPropertyList() {
        return orgPropertyList;
    }

    public void setOrgPropertyList(List<String> orgPropertyList) {
        this.orgPropertyList = orgPropertyList;
    }

    public Integer getOrgType() {
        return orgType;
    }

    public void setOrgType(Integer orgType) {
        this.orgType = orgType;
    }
    public String getOrgFullName() {
        return orgFullName;
    }

    public void setOrgFullName(String orgFullName) {
        this.orgFullName = orgFullName;
    }

    public void setParentOrg(String parentOrg) {
        this.parentOrg = parentOrg;
    }

    public String getParentOrg() {
        return parentOrg;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    /** 取得 机构编号.机构编号唯一 */
    public String getOrgCode() {
        return this.orgCode;
    }

    /** 设置 机构编号.机构编号唯一 */
    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
    /** 取得 机构名称.同一机构下,机构名称唯一 */
    public String getOrgName() {
        return this.orgName;
    }

    /** 设置 机构名称.同一机构下,机构名称唯一 */
    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOrgProperty() {
        return orgProperty;
    }

    public void setOrgProperty(String orgProperty) {
        this.orgProperty = orgProperty;
    }

    public List<IcsEmpVo> getEmpListOfThisCmsOrg() {
        return empListOfThisCmsOrg;
    }

    public void setEmpListOfThisCmsOrg(List<IcsEmpVo> empListOfThisCmsOrg) {
        this.empListOfThisCmsOrg = empListOfThisCmsOrg;
    }

    public List<IcsEmpVo> getEmpListOfThisOrg() {
        return empListOfThisOrg;
    }

    public void setEmpListOfThisOrg(List<IcsEmpVo> empListOfThisOrg) {
        this.empListOfThisOrg = empListOfThisOrg;
    }

    public String getFinanceCenterCode() {
        return financeCenterCode;
    }

    public void setFinanceCenterCode(String financeCenterCode) {
        this.financeCenterCode = financeCenterCode;
    }

    public String getFinanceCenterName() {
        return financeCenterName;
    }

    public void setFinanceCenterName(String financeCenterName) {
        this.financeCenterName = financeCenterName;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        if(updateTime != null){
            DateUtil.formatDate(updateTime,"yyyy-MM-dd HH:mm:ss");
        }
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getAccOrg() {
        return accOrg;
    }

    public void setAccOrg(String accOrg) {
        this.accOrg = accOrg;
    }

    public String getAccOrgCode() {
        return accOrgCode;
    }

    public void setAccOrgCode(String accOrgCode) {
        this.accOrgCode = accOrgCode;
    }

    public String getParentOrgCode() {
        return parentOrgCode;
    }

    public void setParentOrgCode(String parentOrgCode) {
        this.parentOrgCode = parentOrgCode;
    }

    public Integer getXzOrgId() {
        return xzOrgId;
    }

    public void setXzOrgId(Integer xzOrgId) {
        this.xzOrgId = xzOrgId;
    }

    public String getXzOrgCode() {
        return xzOrgCode;
    }

    public void setXzOrgCode(String xzOrgCode) {
        this.xzOrgCode = xzOrgCode;
    }

    public String getOrgTypeStr() {
        return orgTypeStr;
    }

    public void setOrgTypeStr(String orgTypeStr) {
        this.orgTypeStr = orgTypeStr;
    }

    public String getStatusUpdateTime() {
        return statusUpdateTime;
    }

    public void setStatusUpdateTime(String statusUpdateTime) {
        this.statusUpdateTime = statusUpdateTime;
    }

    public String getOrgNameForQue() {
        return orgNameForQue;
    }

    public void setOrgNameForQue(String orgNameForQue) {
        this.orgNameForQue = orgNameForQue;
    }
}
